package com.zhiying.shiro;

import java.util.Set;

public class AuthorizationInfo {
    /**
     * 用户的角色组
     */
    private Set<String> roles;

    /**
     * 用户的资源组
     */
    private Set<String> resources;

    public Set<String> getRoles() {
        return roles;
    }

    public void setRoles(Set<String> roles) {
        this.roles = roles;
    }

    public Set<String> getResources() {
        return resources;
    }

    public void setResources(Set<String> resources) {
        this.resources = resources;
    }

    public AuthorizationInfo(Set<String> roles,Set<String> resources){
        super();
        this.roles = roles;
        this.resources = resources;
    }
}
